﻿using System;
using System.Data.Entity;

namespace TaoNiuOA.Models
{
    public class DbEntity : DbContext
    {
        public DbSet<Apply> Applies { get; set; }
        public DbSet<ApplyType> ApplyTypes { get; set; }

        public DbSet<Checking> Checkings { get; set; }

        public DbSet<Department> Departments { get; set; }

        public DbSet<Performance> Performances { get; set; }

        public DbSet<Salary> Salaries { get; set; }
        public DbSet<SalaryStrategy> SalaryStrategies { get; set; }

        public DbSet<Task> Tasks { get; set; }
        public DbSet<TaskType> TaskTypes { get; set; }

        public DbSet<User> Users { get; set; }
        public DbSet<UserGroup> UserGroups { get; set; }
        public DbSet<UserInfo> UserInfoes { get; set; }

        public DbSet<Workday> Workdays { get; set; }
        public DbSet<WorkTime> WorkTimes { get; set; }

        public DbSet<CheckingStrategy> CheckingStrategies { get; set; }

        public DbSet<UserRole> UserRoles { get; set; }
    }
}
